const libs = require('./export.js')
function JsLibs(){
    this.version = 'v1.0.2'
    this._v = 'v1.3.3'
}
// 将函数挂载到 JsLibs 的 prototype 上
for(let method in libs){
        JsLibs.prototype[method] = libs[method]
}

// const $ = new JsLibs();

// console.log($.toJson([{name:'zhangsan',value:10,age:20},{name:'lisi',value:20,sex:'1'}]))  // 34

module.exports = new JsLibs()